package com.example.demo;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {
    @GetMapping("hello")//@RequestMapping(RequestMethod.GET)
    public String hello(){
        return "hello!SpringBoot";
    }
}